package cn.colat.micse.user.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "用户手机号登录参数")
@NotNull(message = "登录参数不能为空")
public class AccountPhoneLoginVO extends SendSmsVO {

    @ApiModelProperty("验证码")
    @NotEmpty(message = "验证码不能为空")
    private String code;

    @ApiModelProperty("登录设备")
    @NotEmpty(message = "登录设备不能为空")
    private String device;
}
